package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 任务业务关联表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "transaction_relation")
public class TransactionRelation implements Serializable {
    @TableId(value = "transaction_no", type = IdType.INPUT)
    private Integer transactionNo;

    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Integer taskId;

    /**
     * 客户ids
     */
    @TableField(value = "customer_ids")
    private String customerIds;

    /**
     * 联系人ids
     */
    @TableField(value = "contacts_ids")
    private String contactsIds;

    /**
     * 商机ids
     */
    @TableField(value = "business_ids")
    private String businessIds;

    /**
     * 报价单ids
     */
    @TableField(value = "quotation_ids")
    private String quotationIds;

    /**
     * 合同ids
     */
    @TableField(value = "contract_ids")
    private String contractIds;

    private static final long serialVersionUID = 1L;
}